import axios from "axios";
const api = axios.create({
    baseURL: "http://localhost:8080",
    timeout: 5000
})
api.interceptors.response.use(res => {
    if (res.status && res.status == 200) {
        return res.data
    }
})

export default api